* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  max-width: 100vw;
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.5;
}

#basiclayout {
  height: 100vh;
  overflow: auto;
}

.page-container-custom {
  max-width: 818px !important;
  margin-left: 390px !important;
  margin: 0 auto !important;
}

@media screen and (min-width: 818px) {
  .page-container-custom {
    margin-left: 390px !important;
    margin-right: auto !important;
  }
}

/* 确保 Ant Design 组件样式正确加载 */
.ant-pro-layout {
  min-height: 100vh !important;
}

.ant-pro-layout .ant-pro-layout-content {
  padding: 24px;
  font-size: 14px;
  line-height: 1.5;
}